package com.ztjc.day02_operatorxml.domain;

/**
 * Created by pro on 15/10/7.
 */
public class SMS {

    private String address;
    private String body;
    private String date;
    private int type;

    public SMS() {
    }

    public SMS(String address, String body, String date, int type) {
        this.address = address;
        this.body = body;
        this.date = date;
        this.type = type;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getBody() {
        return body;
    }

    public void setBody(String body) {
        this.body = body;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    @Override
    public String toString() {
        return "SMS{" +
                "address='" + address + '\'' +
                ", body='" + body + '\'' +
                ", date='" + date + '\'' +
                ", type=" + type +
                '}';
    }
}
